package com.xiyue.leaspring.service;

import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.test.context.ContextConfiguration;
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;

@ContextConfiguration(locations = {"classpath:spring/spring-aop2.xml"})
@RunWith(SpringJUnit4ClassRunner.class)
public class IMessageServiceTest2 {

	@Autowired
	private IMessageService messageService;
	
	@Test
	public void testEcho() {
		System.out.println(this.messageService.echo("www.baidu.com"));
	}

}
